home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Libraries
/
Dots & Pixels
/
headers
/
scrolling_noise.h
< prev
next >
Wrap
Text File
|
1995-09-29
|
631b
|
29 lines
//
// scrolling_noise is there for ease of use;
// it can be used to create a scrolling area.
//
class scrolling_noise : public gworld
{
public:
scrolling_noise( int breedte, int hoogte, int diepte,
short dh, short dv, port &original);
scrolling_noise( int breedte, int hoogte, int diepte,
short dh, short dv, CTabHandle cTable = nil);
~scrolling_noise();
void step() const;
private:
void init( int breedte, int hoogte, int diepte, short dh, short dv);
short d_h;
short d_v;
gworld *newHor;
gworld *newVert;
Rect origHorRect;
Rect destHorRect;
Rect origVertRect;
Rect destVertRect;
};